package com.baidu.fenfayun.demo.auth;

import android.app.Activity;
import android.support.annotation.NonNull;

import android.content.Context;
import java.util.ArrayList;

/**
 */
public class SmartLoginConfig {

    private Context activity;
    private SmartLoginCallbacks callback;


    public SmartLoginConfig(@NonNull Context activity, SmartLoginCallbacks callback) {
        this.activity = activity;
        this.callback = callback;
    }

    public Context getActivity() {
        return activity;
    }

    public SmartLoginCallbacks getCallback() {
        return callback;
    }

    

    public static ArrayList<String> getDefaultFacebookPermissions() {
        ArrayList<String> defaultPermissions = new ArrayList<>();
        defaultPermissions.add("public_profile");
        defaultPermissions.add("email");
        defaultPermissions.add("user_birthday");
        return defaultPermissions;
    }

}
